{
"sourceID" : 123456789, // Integer (Mandatory) - Batch ID from Mexico
"userId" :"abcdefghij", // AD group user id received from Compass (Mandatory)
"sourceTypeCd" : 8, // Program ID registered in PriceX for Compass (Mandatory)在PriceX注册的Compass程序ID（强制）
"priceAction" : "C", //"C" for Create and "M" for Maintain and "R" for Reject // (Mandatory)
"pricingTypeCd":1, // 1 or 2, // Cost or Retail  (Mandatory)
"prices" :
[
{
//String datatype--InMarketRecruID aka促销ID可以有多个提交的ID（可选）
"inMarketPromoID" : "123e4567-e89b-12d3-a456-426614174000", // String datatype -- InMarketPromoID aka Promo ID can have more than one submitted ID(Optional)
"inMarketSpID" : 456789876, // Integer -- InMarketSpID is the Compass version of Message ID (Mandatory)
"spID" : 123456789, // Long (Optional - Applied to Maintain only)
"priceEntityTypeCd":1, // Integer -- Entity types : ItemNbr, GTIN, UPC
"priceEntityNbr":123456789, // BigDecimal -- With respect to PriceEntityTypeCd (Mandatory)
"destTypeCd":1, // Destination types : Store, Trait, Storegroup, zone,
"sendDestNbr": [12345,67890,..etc], // With respect to DestTypeCd (Mandatory) - Must be 0 for corporate
"omitDestNbr" [12345,67890,etc], // If DestTypeCd is referring Trait, this field can be used (Optional)
"baseRtl":"1234567890123.1234", // Use if PriceTypeCd is referring retail (Conditionally Mandatory)
"custRtl":"0000000000000.0000", // Use if PriceTypeCd is retail and no baseRtl (Conditionally Mandatory)
"wasPrice":"0000000000000.0000", // Use to mentioned the previous price based on PriceTypeCd(Optional)
"retailTypeCd":3, // Use if PriceTypeCd is retail : referring SB, MD, etc.. (Conditionally Mandatory)
"cost":"0000000000000.0000", // Use if PriceTypeCd is cost (Conditionally Mandatory)如果PriceTypeCd是成本，请使用（有条件强制）
"costTypeCd":0, // Use if PriceTypeCd is cost (Optional)如果PriceTypeCd是成本，请使用（有条件强制）
"unitCostInd":"N", // Use if PriceTypeCd is cost (Conditionally Mandatory)如果PriceTypeCd是成本，请使用（有条件强制）
"effectiveTs":"2021-07-01:00:00:00:000", (Conditionally Mandatory)（有条件强制）
"expirationTs":"2025-06-01:00:00:00:000", (Conditionally Mandatory)（有条件强制）
"commentCd":3, // Comment code predefined values in PriceX (Optional)/PriceX中的注释代码预定义值（可选）
"notifyDestInd":"Y" or "N" // (Optional as PriceX defaults the value depending on market requirements/可选，因为PriceX根据市场要求默认值)
"priceCategory":2 // Enum registered in PriceX referring pricing reason (Optional)//在PriceX中注册的枚举引用定价原因（可选）
"isXrefChild": "N", //If child item then "Y" and priceX will throw an error saying "Child cannot be priced".//如果是子项，则“Y”和priceX将抛出错误，提示“无法定价子项”。
                //The parent item's price will be cascaded to child items and feedback will be sent.//父项目的价格将级联到子项目并发送反馈。
"enableAutoCancel": "Y" or "N" // Except CB all specials can be overridden with the new price by cancelling//除了CB所有特价都可以通过取消来覆盖新价格
                               // the existing prices involving this timeline. The business rules will be turned off for this price action.
},                              //涉及此时间线的现有价格。此价格行动的业务规则将被关闭。
{
"inMarketID" : 123456789, // InMarketID can have more than one submitted ID
"priceEntityTypeCd":1, // Entity types : ItemNbr, GTIN, UPC, etc.. (Mandatory)
"priceEntityNbr":123456789, // With respect to PriceEntityTypeCd (Mandatory)
}
]
}

{“sourceID”:1234567,Big Integer (Mandatory) - Batch ID from Mexico

"errors" :[] --- When errors in the root level fields only  like sourceID, sourceTypeCd, pricingTypeCd, priceAction, userId

“itemPrice” : [
{
 “inMarketSpID”: 456789876,Integer (Mandatory) - Message ID from Mexico
 “spId” : null,
“errors”:”inMarketSPID is mandatory, <<Any mandatory field errors, JSON errors at this level>>”

},
{
 “inMarketSpID”: 687793939,
“spId”:32, Big Integer (Mandatory) - PriceX generated ID

}
]
}



{
"sourceID" : 123456789,
"userId" :"abcdefghij", -- AD group user id received from Compass (Mandatory)
"pricingTypeCd":1 or 2, -- Cost or Retail  (Mandatory)
"priceAction" : C/M/R - Create/Maintain/Reject
"spIdStatus" :
[

"123456789":

{
"spId": 123456789,
"customEntityId": 456789876,
"statusCd": "Completed/Failure",
"error" : "Cause of failure",
"priceEntityTypeCd": 1,
"priceEntityNbr": 1703467,
"destTypeCd": 0,
"amount": "0000000000000.0000",
"amount_tax": 0,
"userId": "vn512kcstg",
"retailTypeCd": null,
"traitOrStoreNbr":[],
"effectiveTs": "2021-07-01",
"expirationTs": "2025-06-01"
}
]
}
Retrieve Retail/Retrieve Cost/Retail Types/Destination Type/Like Items/Price Effective Date Range (MM/DD/YYYY)/Price Expiration Date Range (MM/DD/YYYY)

{
  "itemNumber":[
    1234555,
    567889,
    9877655
  ],
  "destTypeCd":1,
  "destination":[
    700,
    3200,
    987
  ],
  "retrieveRetail": 1213,
  "retrieveCost": 1213,
  "retailTypeCd": 3,
  "destinationType": 3,
  "likeItems": "Same UPC/Like Item Assortment/Item Cross Reference/Merchandise Link Items/Line Item ",
  "priceEffectiveDateRange": "05/24/2024",
  "priceExpirationDateRange": "05/24/2024",
  "pricingTypeCd":1, //1 or 2, -- Cost or Retail  (Mandatory)
  "timelineType": "ALL", //ALL – whole timeline, CURR – current timeline, FUTURE – future timeline (Optional and default it to ALL)
  "resolutionType":"W" // W – Winning , A -Auxiliary, ALL – Both (Optional and default it to ALL)
}

所需字段：
Item Nbr
Item Desc 1
Effective Date
Expiration Date
Destination(Destination Type/Destination Nbr/Destination Desc)
Retail Type
Retail
Customer Retail
Supplier Pack Cost
Last Update Timestamp
Last Update Userid
Cost Type
Current Whse Pack Sell
Department
Item Status
Brand
Fineline
Item Desc 2
Item Effective Date
Item Traits
Item Type
PLU
Season Code
Shelf 1 / Color
Shelf 2 / Size
Signing Desc
Item Sub-type
Supplier
Supplier Pack Qty
UPC
Whse Pack Qty
Create Timestamp
Creator UserId
Link Item
Link Type
Pricing Action Id
Whse Pack Cost
